Change parameter "-Description"
Hello
I need to change the parameter Descripition on information from databases
Set-MailboxDatabase -Identity "MIAWSMB4\MB4SG07\MB4SG07DB01" -Description "test"
i get this error
Set-MailboxDatabase : A parameter cannot be found that matches parameter name 'Description'. At line:1 char:74
+ Set-MailboxDatabase -Identity "MIAWSMB4\MB4SG07\MB4SG07DB01" -Description <<<< "teste"
there is some error in the command? or is there another way of filling the description field?
Thank
July 5th, 2010 10:31pm
On Mon, 5 Jul 2010 19:31:30 +0000, Felipe Moraes - MCP wrote:
>
>
>Hello
>
>I need to change the parameter Descripition on information from databases
>
>Set-MailboxDatabase -Identity "MIAWSMB4\MB4SG07\MB4SG07DB01" -Description "test"
>
>i get this error
>
>Set-MailboxDatabase : A parameter cannot be found that matches parameter name 'Description'. At line:1 char:74 + Set-MailboxDatabase -Identity "MIAWSMB4\MB4SG07\MB4SG07DB01" -Description <<<< "teste"
>
>there is some error in the command?
Do you see -Description as a parameter in "help Set-MailboxDatabase
-detailed"? If not, there's nothing wrong.
>or is there another way of filling the description field?
ADSIEDIT.msc, LDP.exe, or ADSI (an example of use ADSI with Powershell
is below).
$db=[ADSI]("LDAP://" + (get-MailboxDatabase -Identity
"MIAWSMB4\MB4SG07\MB4SG07DB01").distinguishedname)
$db.Put("Description", "This is another way")
$db.SetInfo()
---
Rich Matheisen
MCSE+I, Exchange MVP
--- Rich Matheisen MCSE+I, Exchange MVP
Free Windows Admin Tool Kit Click here and download it now
July 5th, 2010 11:11pm
Hi,
Yes there is no parameter with the name "Description" for Set-MailboxDatabase command.
See here http://technet.microsoft.com/en-us/library/bb123971(EXCHG.80).aspx
I think ADSIEdit.msc way is the easiest or you can try to run the script provided by Rich.
Regards,Laeeq Qazi|Team Lead(Exchange + Sharepoint + BES + DynamicsCRM)
www.HostingController.com
July 6th, 2010 1:33pm